Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to create new dialog for terraform template in service catalog item #9273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

putmanoj
Copy link

@putmanoj putmanoj commented Sep 23, 2024

Depends on:

This PR, make changes for Terraform Template, in New Service Catalog Item page.

  • Before this PR changes, in Provision tab, the user could not create new dialog for terraform template, they could only select existing service dialogs.

    Before-Service-Catalog-item-Provision-tab
  • After the changes in PR, in Provision tab, the user can now either choose to use existing service dialog or create new dialog for the terraform template.

    After-Service-Catalog-Item-Provision-tab
  • If the user chooses to create new dialog, providing new dialog name, then saves the Service Catalog item, new dialog is created in background.

    New-Service-Catalog-Item-with-new-dialog
  • The newly dialog created, will have section added for Terraform Template Variables, this section will have textboxes for each 'input' variables from terraform template. The newly created dialog can be edited by the user according to needs.
    In current Hello World example, the terraform template has single input variable called 'name', so you see one textbox component with label 'name'.

    new-dialog-edit
  • When the same Service catalog item is ordered ..

    Order-Service-Catalog-Item-with-TF-var-section

@putmanoj putmanoj requested a review from a team as a code owner September 23, 2024 11:07
@agrare agrare changed the title add option to create new dialog for terraform template in service catalog item Add option to create new dialog for terraform template in service catalog item Oct 1, 2024
@agrare
Copy link
Member

agrare commented Oct 1, 2024

@putmanoj can you add a screenshot showing the new flow?

@Fryguy
Copy link
Member

Fryguy commented Oct 1, 2024

(Note we also use the screenshots for the sprint review 😄)

@putmanoj putmanoj force-pushed the terraform-template-new-dialog branch from 24fc97e to a7e7e0e Compare October 1, 2024 13:51
@GilbertCherrie
Copy link
Member

This pr depends on this pr: ManageIQ/manageiq-providers-embedded_terraform#77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants